train1 = csvread('10000IRMA_Training_1.csv');
train2 = csvread('10000IRMA_Training_2.csv');
train3 = csvread('10000IRMA_Training_3.csv');
train4 = csvread('10000IRMA_Training_4.csv');
train5 = csvread('10000IRMA_Training_5.csv');
train6 = csvread('10000IRMA_Training_6.csv');
train7 = csvread('10000IRMA_Training_7.csv');
train8 = csvread('10000IRMA_Training_8.csv');
train9 = csvread('10000IRMA_Training_9.csv');
train10 = csvread('10000IRMA_Training_10.csv');
train11 = csvread('10000IRMA_Training_11.csv');
train12 = csvread('10000IRMA_Training_12.csv');
train13 = csvread('10000IRMA_Training_13.csv');
train14 = csvread('10000IRMA_Training_14.csv');
train15 = csvread('10000IRMA_Training_15.csv');
train16 = csvread('10000IRMA_Training_16.csv');
train17 = csvread('10000IRMA_Training_17.csv');
train18 = csvread('10000IRMA_Training_18.csv');
train19 = csvread('10000IRMA_Training_19.csv');
train20 = csvread('10000IRMA_Training_20.csv');
train21 = csvread('10000IRMA_Training_21.csv');
train22 = csvread('10000IRMA_Training_22.csv');
train23 = csvread('10000IRMA_Training_23.csv');
train24 = csvread('10000IRMA_Training_24.csv');
train25 = csvread('10000IRMA_Training_25.csv');
train26 = csvread('10000IRMA_Training_26.csv');
train27 = csvread('10000IRMA_Training_27.csv');
train28 = csvread('10000IRMA_Training_28.csv');
train29 = csvread('10000IRMA_Training_29.csv');
train30 = csvread('10000IRMA_Training_30.csv');
train31 = csvread('10000IRMA_Training_31.csv');
train32 = csvread('10000IRMA_Training_32.csv');
train33 = csvread('10000IRMA_Training_33.csv');
train34 = csvread('10000IRMA_Training_34.csv');
train35 = csvread('10000IRMA_Training_35.csv');
train36 = csvread('10000IRMA_Training_36.csv');
train37 = csvread('10000IRMA_Training_37.csv');
train38 = csvread('10000IRMA_Training_38.csv');
train39 = csvread('10000IRMA_Training_39.csv');
train40 = csvread('10000IRMA_Training_40.csv');
train41 = csvread('10000IRMA_Training_41.csv');
train42 = csvread('10000IRMA_Training_42.csv');
train43 = csvread('10000IRMA_Training_43.csv');
train44 = csvread('10000IRMA_Training_44.csv');
train45 = csvread('10000IRMA_Training_45.csv');
train46 = csvread('10000IRMA_Training_46.csv');
train47 = csvread('10000IRMA_Training_47.csv');
train48 = csvread('10000IRMA_Training_48.csv');
train49 = csvread('10000IRMA_Training_49.csv');
train50 = csvread('10000IRMA_Training_50.csv');
train51 = csvread('10000IRMA_Training_51.csv');
train52 = csvread('10000IRMA_Training_52.csv');
train53 = csvread('10000IRMA_Training_53.csv');
train54 = csvread('10000IRMA_Training_54.csv');
train55 = csvread('10000IRMA_Training_55.csv');
train56 = csvread('10000IRMA_Training_56.csv');
train57 = csvread('10000IRMA_Training_57.csv');

total_train = [train1(1:224,:);train2(1:21,:);train3(1:143,:);train4(1:68,:);train5(1:150,:);train6(1:384,:);train7(1:51,:);train8(1:32,:);train9(1:46,:);train10(1:21,:);train11(1:72,:);train12(1:1709,:);train13(1:62,:);train14(1:101,:);train15(1:10,:);train16(1:15,:);train17(1:145,:);train18(1:137,:);train19(1:91,:);train20(1:21,:);train21(1:129,:);train22(1:32,:);train23(1:53,:);train24(1:11,:);train25(1:189,:);train26(1:113,:);train27(1:73,:);train28(1:152,:);train29(1:57,:);train30(1:39,:);train31(1:40,:);train32(1:52,:);train33(1:41,:);train34(1:628,:);train35(1:12,:);train36(1:63,:);train37(1:15,:);train38(1:77,:);train39(1:25,:);train40(1:34,:);train41(1:43,:);train42(1:49,:);train43(1:65,:);train44(1:129,:);train45(1:23,:);train46(1:20,:);train47(1:98,:);train48(1:53,:);train49(1:52,:);train50(1:61,:);train51(1:6,:);train52(1:6,:);train53(1:10,:);train54(1:31,:);train55(1:7,:);train56(1:10,:);train57(1:38,:)];
total_test  = [train1(225:336,:);train2(22:32,:);train3(144:215,:);train4(69:102,:);train5(151:225,:);train6(385:576,:);train7(52:77,:);train8(33:48,:);train9(47:69,:);train10(22:32,:);train11(73:108,:);train12(1710:2563,:);train13(63:93,:);train14(102:152,:);train15(11:15,:);train16(16:23,:);train17(146:217,:);train18(138:205,:);train19(92:137,:);train20(22:31,:);train21(130:194,:);train22(33:48,:);train23(54:79,:);train24(12:17,:);train25(190:284,:);train26(114:170,:);train27(74:109,:);train28(153:228,:);train29(58:86,:);train30(40:59,:);train31(41:60,:);train32(53:78,:);train33(42:62,:);train34(629:880,:);train35(13:18,:);train36(64:94,:);train37(16:22,:);train38(78:116,:);train39(26:38,:);train40(35:51,:);train41(44:65,:);train42(50:74,:);train43(66:98,:);train44(130:193,:);train45(24:35,:);train46(21:30,:);train47(99:147,:);train48(54:79,:);train49(53:78,:);train50(62:91,:);train51(7:9,:);train52(7:9,:);train53(11:15,:);train54(32:46,:);train55(8:10,:);train56(11:15,:);train57(39:57,:)];

xlswrite('10000IRMA_Total_Training_New.xlsx',total_train);
xlswrite('10000IRMA_Total_Testing_New.xlsx',total_test);